Added listeners ready for database integration.