Use properties rather than definitions

Related to heroku/heroics#20.