Could you add some phpdocs? Thanks.