Types can be obtained once instead of of doing that every time property getter is called