Allow templates directory to be set by child class