Implemented object casts