Started meta-programming for type cast mechanism.