fixed code in Method of Types - replaced tabs with spaces