Pystache-compatible pre-processing layer that adds inheritance support