Fixes issue with dynamic method attributes