Bug fix with parameterized methods.