Fix docblock.
Support wildcard for action.
Support wildcard for resource.
Refactor.
Refactor.
Add sub-resource support.