Add missing rotation-related functions.