Move dan build into static methods
Drop unnamed placeholders support and php 5.3 support