WSDL using multiple methods from same class erros

When I create a new service and add more than one function from the same classe I get and erro on my Apache log as:
PHP Fatal error: Cannot redeclare class webservices_struct_class_000001
Well, a made a little patch to avoid this error by checking the class existence.