Added automatic specialization