Fixed wrong method attr.