Adds substitutions to the API

Nothing too interesting here.