Add type attribute

Signed-off-by: Wallace Reis <wreis@123people.com>