fixed an issue with methods not being properly included when assigned at design time