Fix incorrectly added type metadata

Signed-off-by: Alex Coles <alex@alexbcoles.com>