Replace PHP coffee with native