Allow either Endpoint or View as class suffix.