Removing method name checking. Fixing compilation issue