Use instance method instead of before hook