Reverse portlet API scopes from compile to provided.