Extract methods from tamplate