Conditional loading for ActiveModel and OceanDynamo.