removed method condition from TypeCaster