Fixed delegate bug on custom methods/properties