Common operations for controllers, DAOs and services.