extends allowed types for moment conversion