Move out generic convenience functions.