Fix define declaration for user type