Definitions must be before references