Adding types to webapi controllers