Making controllers container aware