would be nice to have a common declaration for the extension and application service, otherwise we'll have bugs if it's modified in one place and left unmodified in the other