Use properties rather than definitions

Related to heroics/heroku#20.