They are properties. If you create a class with similar properties, they will function the same way. Off-topic, see PM.