It is still possible to create a menu with
special = userfunction
for backward compatibility reasons.
However we would advise you to write a customized MenuProcessor and style the output with Fluid instead.
Calls a user function/method in class which should return an array with page records for the menu.