Added as_app mixin feature