1. Support resources.
2. Support saving category on transaction.