Move define methods to require to be spec-compatible