building is a former principal parish church .