Fix for wrong usage of method.