Moved UIDock implementation details to internal