added basic Java types for Profile and associated types.