Implemented missing casts.