Fixing incorrect method signature