Fixed issue with missing colon in dynamic method body