Add get meta function.