Added action endpoint.
Refactored chan specifics into Types module.